home *** CD-ROM | disk | FTP | other *** search
- Path: mercury.starnet.gov.sg!mercury!thungkho
- From: thungkho@starnet.gov.sg (Tan Hung Khoon)
- Newsgroups: comp.lang.c++
- Subject: Help: STL map
- Date: 5 Jan 1996 01:37:13 GMT
- Message-ID: <4chvc9$esu@mercury.starnet.gov.sg>
- NNTP-Posting-Host: mercury.mercury.starnet.gov.sg
- X-Newsreader: TIN [version 1.2 PL2]
-
- I had the following problem:
-
- "rb_tree<int, pair<const int, int>select1st<pair<const int,
- int>,int>,less<int> >::rb_tree_node" needs a constructor because class
- member "value_field" needs a constructor initializer
- previous message applies to the definition of template
- "map<int,int,less<int> >"
-
- with the Hewlett Packard STL on IBM RS/6000 using xlC. Is this due to
- the compiler not fully supporting STL? Any way to solve the problem?
- Appreciate if anyone could provide advise on this. Thanks in advance.
-
- --
- ----------
- Tan Hung Khoon _____/ _____/ _____/
- Software Engineer _/ _/ _/ _/
- Joint/Army Systems Division _/ ___/ _/ _/
- Command, Control, and _/ _/ _/ _/
- Communication Systems Organisaton _____/ _____/ _____/
-
-